﻿export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        path: '/user/login',
        layout: false,
        name: 'login',
        component: './user/Login',
      },
      {
        path: '/user',
        redirect: '/user/login',
      },
    ]
  },
  {
    path: '/user/manage',
    name: '用户管理',
    component: './user/List'
  },
  {
    path: '/',
    redirect: '/home',
  },
  {
    name: '首页',
    path: '/home',
    component: './Home',
  },
  {
    name: '权限演示',
    path: '/access',
    component: './Access',
  },
  {
      name: ' CRUD 示例',
      path: '/table',
      component: './Table',
  },
  {
    component: '404',
  },
]
